ppc: yyinput returns a int, truncating to (unsigned)char does't work
authorCaolán McNamara <caolanm@redhat.com>
Mon, 14 May 2012 13:00:59 +0000 (14:00 +0100)
committerRene Engelhard <rene@debian.org>
Wed, 1 Aug 2012 08:41:17 +0000 (08:41 +0000)
commitd57ce4fe6ba072a1937b5260760aa32591de2a4f
treee5031949f5bbc20eccdc430ec2f892c687f8d7db
parent38e994efcc25f4ea2d35b036b725268192c7c5c5
ppc: yyinput returns a int, truncating to (unsigned)char does't work

retain this as an int so that on platforms where char is unsigned
we don't mangle the value and get this all wrong.

Fixes database opening tables on ppc if -fsigned-char is removed

Change-Id: I66f0c6b1b19191595f8b348377579f2daabf7ada

Gbp-Pq: Name yyinput-fix-for-unsigned-char.diff
connectivity/source/parse/sqlflex.l